package com.woniu.finance.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.woniu.finance.entity.Department;
import com.woniu.finance.entity.Permission;
import com.woniu.util.utils.HttpResult;

/**
 * <p>
 * 权限表 服务类
 * </p>
 *
 * @author 刘品水
 * @since 2023-04-25
 */
public interface IPermissionService {
    HttpResult<?> findAllPermission();
    HttpResult<?> savePermission(Permission permission);

    HttpResult<?> modifyPermission(Permission permission);

    HttpResult<?> removePermissionById(Integer id);

    HttpResult<?> findPermissionById(Integer id);
}
